package com.lh.common.entity.admin;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.ibatis.type.Alias;
import lombok.Data;
/**
 * ovmal_shop_cart:购物车表
 * @author Administrator 2020-05-18
 */
@TableName("ovmal_shop_cart")
@Alias("shopCart")
@Data
public class ShopCart implements Serializable {
    @ApiModelProperty(value = "")
    @Id
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    @Column(name = "uid")
    private Long uid;

    @ApiModelProperty(value = "商品id")
    @Column(name = "sid")
    private Long sid;

    @ApiModelProperty(value = "数量")
    @Column(name = "num")
    private Integer num;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * ovmal_shop_cart
     */
    private static final long serialVersionUID = 1L;
}
